import request from "@/utils/request";

/**
 * 登录接口
 */
export function login(data) {
  return request({
    url: '/view/login',
    method: 'post',
    data
  })
}

/**
 * 获取配置详情
 */
export function getInfo() {
  return request({
    url: '/view/userInfo',
    method: 'post'
  })
}
